package com.wxzz.elearing.evaluation.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wxzz.elearning.common.dto.BasePage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class EvaluationCriterionDto extends BasePage {

    @NotNull(message = "请传入type")
    @ApiModelProperty(value = "0-工厂体检 1-星级认证 2-能力测评")
    private Long type;

    @ApiModelProperty(value = "行业id")
    private Long businessCategoryId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "测评内容")
    private String evaluationTitle;
}
